#include<stdio.h>
#include<stdlib.h>

int main()
{
    enum day {
        saturday,
        sunday,
        monday,
        tuesday,
        wednesday,
        thursday,
        friday
    } workday;

    int a = 1;
    enum day weekend;
    weekend = (enum day) a; //类型转换
    //weekday = a ; //错误
    
}